import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class AddBlogPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return AddBlogScreen();
  }
}

class AddBlogScreen extends StatefulWidget {
  AddBlogScreen({Key? key}) : super(key: key);

  @override
  State<StatefulWidget> createState() {
    return _AddBlogScreenState();
  }
}

class _AddBlogScreenState extends State<AddBlogScreen> {
  String title = "";
  String content = "";

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("发博客"),
        leading: IconButton(
          icon: Icon(Icons.arrow_back),
          onPressed: () {
            Navigator.pop(context);
          },
        ),
      ),
    );
  }
}
